package com.vic.mvc.framework.tools;

import java.lang.annotation.Annotation;
import java.util.List;

import com.vic.mvc.framework.util.ClassUtil;
import com.vic.mvc.framework.util.StringUtil;

public class ClassTool {

	private static String scannerPackage = StringUtil.isEmpty(ConfigUtil.get("mvc.framework.scanner.root")) ? "" :ConfigUtil.get("mvc.framework.scanner.root");
	
	public static List<Class<?>> getClassByAnnotation(Class<? extends Annotation> annotationClass){
		return ClassUtil.getClassByAnnotation(scannerPackage, annotationClass);
	}
}
